﻿@model Atomic.Plugins.Security.Domain.LoginUserModel

@{
    ViewBag.Title = "Login";
}

@*<h2>Login</h2>

    <form role="form" action="/account/login" method="post">
        <table>
            <tr>
                <td>账号</td>
                <td>
                    @Html.TextBoxFor(model => model.AccountNumber, new { @class = "form-control", placeholder = "账号" })
                    @Html.ValidationMessageFor(model => model.AccountNumber)
                </td>
            </tr>
            <tr>
                <td>密码</td>
                <td>
                    @Html.PasswordFor(model => model.Password, new { @class = "form-control", placeholder = "密码" })
                    @Html.ValidationMessageFor(model => model.Password)
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <button type="submit" class="btn btn-primary">登录</button>
                </td>
            </tr>
        </table>
    </form>*@

<div class="col-md-4">
    <h2>Login</h2>
    <form class="form-horizontal" role="form" action="/account/login" method="post">
        <div class="form-group">
            <label for="inputAccountNumber" class="col-sm-2 control-label">账号</label>
            <div class="col-sm-10">
                @Html.TextBoxFor(model => model.AccountNumber, new { @class = "form-control", placeholder = "账号" })
                @Html.ValidationMessageFor(model => model.AccountNumber)
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
                @Html.PasswordFor(model => model.Password, new { @class = "form-control", placeholder = "密码" })
                @Html.ValidationMessageFor(model => model.Password)
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <div class="checkbox">
                    <label>
                        <input type="checkbox"> Remember me
                    </label>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary">登录</button>
            </div>
        </div>
    </form>
</div>